package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile   string `gorm:"type:char(11);not null;comment:手机号/账号"`
	Password string `gorm:"type:char(32);not null;comment:密码"`
	Images   string `gorm:"type:varchar(420);comment:头像"`
	Nickname string `gorm:"type:varchar(20);comment:昵称"`
	Info     string `gorm:"type:varchar(20);comment:介绍"`
	Address  string `gorm:"type:varchar(30);comment:地址"`
}
